package com.xxxx.server.pojo;
import java.io.IOException;
public class FastDFSFile {
    private String fileName;
    private byte[] file_buff;
    private String ext;



    public FastDFSFile(String fileName, byte[] file_buff, String ext) {
        this.fileName=fileName;
        this.file_buff=file_buff;
        this.ext=ext;
    }



    public byte[] getContent() throws IOException {
        System.out.println(file_buff.toString());
        return file_buff;
    }

    public String getExt() {
        return ext;
    }


    public String getAuthor() {
        return "zhida";
    }

    public String getName() {
        return fileName;
    }
}
